package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @description:    问卷试题选项
 * @author: xy丶Z
 * @date: Created in 2021/3/3 17:14
 * @version: 1.0.0
 * @modified By:
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_answer")
public class Answers implements Serializable {
    private static final long serialVersionUID = 432183195094216817L;

    private ObjectId id;

    private String testId; //问卷编号
    private String answerId; //选项编号
    private String text; //选项内容
    private Integer score; //选项分数
}
